[Unit]
Description=Etcd Server
After=network.target
After=network-online.target
Wants=network-online.target
Documentation=https://github.com/coreos

[Service]
Type=notify
WorkingDirectory={{ item.etcd.data_dir }}
ExecStart={{ item.etcd.binary_dir }}/etcd --config-file={{ item.etcd.config_file}}
Restart=on-failure
RestartSec=15
TimeoutStartSec=0
LimitNOFILE=65536
OOMScoreAdjust=-999

[Install]
WantedBy=multi-user.target